define(function(){
  'use strict';
  var task = function(id){
  	this.id = id;
  	this.data = undefined;
  	this.topic= undefined;
  	this.createtime = new Date().getTime();
  	this.eventType = undefined;
    this.cid = undefined;
    this.sid = undefined;
    this.init();
  }

  task.prototype.init = function(){

  }

  task.prototype.setId = function(id){
    this.id = id;
  }

  task.prototype.setData = function(data){
  	this.data = data;
  }

  task.prototype.setTopic= function(topic){
  	this.topic = topic;
  }

  task.prototype.setEventType = function(eventType){
  	this.eventType = eventType;
  }

  task.prototype.setCid = function(cid){
    this.cid = cid;
  }

  task.prototype.setSid = function(sid){
    this.sid = sid;
  }

  return task;
});